#!/bin/bash

Version="v1.0.2"

docker build --build-arg Version=${Version} ./core/ -t 547265870/core:${Version}
docker pull 547265870/core:${Version}

docker build ./mysql/ -t 547265870/mysql:5.7
docker pull 547265870/mysql:5.7

docker build ./redis/ -t 547265870/redis:6-alpine
docker pull 547265870/redis:6-alpine

docker build ./nginx/ -t 547265870/nginx:v1.12.2
docker pull 547265870/nginx:v1.12.2
